#!/bin/bash
#1-06-01.sh
#date:2019.03.10

systemctl restart sshd #这里大家根据实际情况随便执行一个服务，
if [ $? -ne 0 ];then
    echo -e "\033[31m\033[01m 启动服务失败 \033[0m"
else
	echo "启动成功"
fi
